package cn.tedu.net.innerclass;
//本类用于测试成员内部类被static修饰的效果
public class TestInner3 {
    public static void main(String[] args) {
        Outer3.Inner3 oi3=new Outer3.Inner3();
        oi3.play();
        new Outer3.Inner3().play();
        Outer3.Inner3.play2();  //链式加载
    }
}
class Outer3{
   static class Inner3{//不常用,浪费内存
       public void play(){
           System.out.println("Inner3...春天应该玩程晓宇");
       }
       public static void play2(){
           System.out.println("Inner3...play2()...春天应该玩程晓宇");
       }
   }
}